# Description: GStreamer Çirkin Eklentileri, kaliteli ve doğru işlevsellikleri olan bir takım eklentilerdir ancak bunları dağıtmak sorun yaratabilir.
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html
# Packager: alihan-ozturk28@hotmail.com
# Depends on: gstreamer-plugins-base lame libdvdnav libdvdread libdvdcss liba52 libmad libmpeg2

name=gstreamer-plugins-ugly
version=0.10.19
release=1
_name=gst-plugins-ugly
source=( http://gstreamer.freedesktop.org/src/${_name}/${_name}-$version.tar.xz
	     http://www.linuxfromscratch.org/patches/downloads/gst-plugins-ugly/gst-plugins-ugly-$version-libcdio_fixes-1.patch )

build() {
	cd ${_name}-$version
	patch -Np1 -i ../gst-plugins-ugly-$version-libcdio_fixes-1.patch
	./configure --prefix=/usr \
	--with-package-name="Milis gstreamer-plugins-ugly" \
	--with-package-origin="https://milis.gungre.ch/"

	make
	make DESTDIR=$PKG install
}
